Platform Explorer / Nuxeo Platform 2021.7

Contribution org.nuxeo.ecm.platform.routing.conditionalfolder.contentTemplateContrib--factoryBinding

This contribution is part of XML component org.nuxeo.ecm.platform.routing.conditionalfolder.contentTemplateContrib inside nuxeo-routing-core-2021.7.15.jar /OSGI-INF/document-routing-conditional-content-template-contrib.xml

Extension Point

Extension point factoryBinding of component ContentTemplateService.

Registration Order

3
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <factoryBinding factoryName="SimpleTemplateFactory" name="ConditionalfolderFactory" targetType="ConditionalStepFolder">
          <template>
            <templateItem description="Decisional step" id="routeDocStep" title="DecisionalStep" typeName="DocumentRouteStep"/>
            <templateItem description="Branch executed if option1 is chosen" id="option1" title="Option 1" typeName="StepFolder"/>
            <templateItem description="Branch executed if option2 is chosen" id="option2" title="Option 2" typeName="StepFolder"/>
          </template>
        </factoryBinding>

XML Source

<extension point="factoryBinding" target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService">

    <factoryBinding factoryName="SimpleTemplateFactory" name="ConditionalfolderFactory" targetType="ConditionalStepFolder">
      <template>
        <templateItem description="Decisional step" id="routeDocStep" title="DecisionalStep" typeName="DocumentRouteStep"/>
        <templateItem description="Branch executed if option1 is chosen" id="option1" title="Option 1" typeName="StepFolder"/>
        <templateItem description="Branch executed if option2 is chosen" id="option2" title="Option 2" typeName="StepFolder"/>
      </template>
    </factoryBinding>

  </extension>